package com.dragon.account.repository;

import java.util.List;
import java.util.Map;

import com.dragon.account.entity.CmAppConsumptioninst;
import com.dragon.common.repository.mybatis.BaseRepository;
import com.dragon.common.repository.mybatis.MyBatisRepository;

@MyBatisRepository
public interface CmAppConsumptioninstRepository extends BaseRepository<CmAppConsumptioninst, String> {

    CmAppConsumptioninst findByLoanId(String loanId);
    
    List<Map> findRejectDescListByCaseId(String caseId);
    
    int updateByLoanId(Map<String , Object> map);

}